package com.rj.framework.biz;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;
@Data
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    public  class ValidationResult {
        private boolean valid;
        private List<String> errors = new ArrayList<>();
        // getters/setters...
    }